import React, { Component } from 'react'
import { Drawer } from 'antd-mobile';

export default class search extends Component {
    state = {
        open: true,
      }
    render() {
        const sidebar = <div>123</div>
        return (
            <div className="search">
               
                <Drawer
                    className="my-drawer"
                    sidebar={sidebar}
                    open={this.state.open}
                   
                >
                    Click upper-left corner
                </Drawer>
                
            </div>
        )
    }
}
